<?php
/**
 * Created by PhpStorm.
 * User: clcw908
 * Date: 2017/3/14
 * Time: 13:51
 */

namespace AuctionBack\Service\Thrift;

require_once ROOT_DIR . '/App/AuctionBack/Org/Thrift/Lib/Thrift/ClassLoader/ThriftClassLoader.php';

use Thrift\ClassLoader\ThriftClassLoader;

$loader = new ThriftClassLoader();
$loader->registerNamespace('Thrift', ROOT_DIR . '/App/AuctionBack/' . 'Org/Thrift/Lib');
$loader->registerDefinition('Services', ROOT_DIR . '/App/AuctionBack/' . 'Org/Thrift/gen-php');
$loader->register();

interface ThriftClientIf
{

}
